<template>
  <a-carousel arrows>
    <div
      slot="prevArrow"
      slot-scope="props"
      class="custom-slick-arrow"
      style="left: 30px; z-index: 1"
    >
      <a-icon type="left-circle" />
    </div>
    <div
      slot="nextArrow"
      slot-scope="props"
      class="custom-slick-arrow"
      style="right: 30px"
    >
      <a-icon type="right-circle" />
    </div>
    <div>
      <h3>hahahah</h3>
      <img class="ad-pic" src="~/assets/img/ad01.jpeg" alt="" />
    </div>
    <div><img class="ad-pic" src="~/assets/img/ad02.png" alt="" /></div>
  </a-carousel>
</template>
<script>
export default {};
</script>
<style scoped>
/* For demo */
.ant-carousel >>> .slick-slide {
  text-align: center;
  height: 520px;
  /* line-height: 160px; */
  /* background: #364d79; */
  overflow: hidden;
}

.ant-carousel >>> .custom-slick-arrow {
  width: 25px;
  height: 25px;
  font-size: 25px;
  color: rgb(255, 255, 255);
  background-color: rgba(31, 45, 61, 0.11);
  opacity: 0.3;
}
.ant-carousel >>> .custom-slick-arrow:before {
  display: none;
}
.ant-carousel >>> .custom-slick-arrow:hover {
  opacity: 0.5;
}

.ant-carousel >>> .slick-slide h3 {
}

.ad-pic {
  width: 100%;
  background-position: center;
  background-size: cover;
}
</style>
